#include "suboperator.h"

SubOperator::SubOperator(QObject *parent)
    : QObject(parent)
{
}

QString SubOperator::name() const
{
    return "Sub";
}

qreal SubOperator::Execute(qreal a, qreal b)
{
    return a - b;
}
